﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BUIANHQUAN.OOP.Inheristace
{
    class LopConCho : LopDongVat
    {
        private bool IsDuoi;
        private bool IsSua(){return true;}
        private bool IsVayDuoi() { return true; }
        public LopConCho(bool IsDuoi, bool IsChan, bool IsMat) : base(IsChan,IsMat)
        {
            this.IsDuoi = IsDuoi;
        }
        public void DacDiem()
        {
            IsNgu();
            IsChay();
            IsSua();
            IsVayDuoi();

        }
        public bool Duoi { get; set; }
    }
}
